package rootPackage.controller;



import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import rootPackage.service.ProdottiService;

public class ProdottiController extends Controller {

    private ProdottiService service = new ProdottiService();
    
    @Override
    public Navigation run() throws Exception {
        requestScope("prodottiList", service.getAll());
        return forward("prodotti.jsp");
    }
}

